package hy.config;

import hy.beans.Product;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UFirst {
    {
        System.out.println("this is first config");
    }

    @Bean
    Product getBean(){
        return new Product();
    }

}
